package com.wsx.ones.boots;

import com.wsx.ones.boots.grpc.WebGrpcServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author wangshuaixin
 * @Title: com.wsx.ones.boots.GrpcApplication
 * @Description: spring boot 集成grpc的服务整合启动
 * @date 2019/05/20
 */
@SpringBootApplication(
        exclude = {DataSourceAutoConfiguration.class}
)
public class GrpcApplication {

    public static void main(String[] args) {
        //grpc服务的启动
        new WebGrpcServer().start();

        SpringApplication.run(GrpcApplication.class, args);
    }
}
